@bg-color:#b7d4a8;

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#main{
    height: 420px;
    width: 360px;
    background-color: @bg-color;
    border: 10px #000 solid;
    border-radius: 10px;
    margin: 100px auto;
}

#stage{
    height: 304px;
    width: 304px;
    border: 2px #000 solid;
    margin: 20px auto;
    position: relative;
    #snake{
        &>div{
            position: absolute;
            height: 10px;
            width: 10px;
            background-color: #000;
            border: 1px @bg-color solid;
        }
    }
    #food{
        height: 10px;
        width: 10px;
        border: 1px @bg-color solid;
        background-color: #000;
        transform: rotate(45deg);
        position: absolute;
        left: 20px;
        top: 20px;
    }
}
#score-panel{
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    font-family: Courier;
}